Skip to main content

DescribeSnatTableEntries

Description

call the DescribeSnatTableEntries interface to query the created SNAT entry.

Request Method

POST

Request Path

/apsara/route/Vpc/DescribeSnatTableEntries

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
SourceVSwitchIdBODYstringNovsw-3xb****switch ID for public network access through SNAT function.
SnatEntryNameBODYstringNoSnatEntry-1The name of the SNAT entry. The length is 2-128 characters and must start with a letter or Chinese, but cannot be http:// or https:// start.
PageSizeBODYintegerNo10The number of rows per page during paging query, the maximum value is 50, the default value is 10.
SourceCIDRBODYstringNo116.XX.XX.0/28the source network segment of the SNAT entry.
PageNumberBODYintegerNo1page number of the list, the default value is 1.
regionIdBODYstringYesNo sample value for this parameter.region id
SnatEntryIdBODYstringNosnat-8vbae8uqh7rjpk7d2****SNAT entry ID.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the NAT gateway. you can obtain the region by calling DescribeRegions interface ID.
SnatIpBODYstringNo116.XX.XX.28the public IP of the SNAT entry.
versionBODYstringNo2016-01-01version of api
SnatTableIdBODYstringYesstb-8vbczigrhop8x5u3t****SNAT table ID.

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}